package cn.tedu.submarine;
import javax.swing.*;

public class TorpedoSubmarine extends SeaObject implements OwnScore{
    public TorpedoSubmarine() {
        super(63,20);
    }
    public void move() {
        x += speed;
    }

    @Override
    public ImageIcon getImage() {
        return Images.torpedoSub;
    }

    @Override
    public int getScore() {
        return 40;
    }
}
